package org.jeecg.modules.wmhb.entity;

import java.io.Serializable;
import java.util.Date;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableLogic;
import org.jeecg.common.constant.ProvinceCityArea;
import org.jeecg.common.util.SpringContextUtils;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;

import io.swagger.v3.oas.annotations.media.Schema;
import java.io.UnsupportedEncodingException;

/**
 * @Description: 项目计划
 * @Author: jeecg-boot
 * @Date:   2025-09-28
 * @Version: V1.0
 */
@Data
@TableName("wm_plan")
@Schema(description="项目计划")
public class WmPlan implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键*/
	@TableId(type = IdType.ASSIGN_ID)
    @Schema(description = "主键")
    private java.lang.String id;
	/**创建人*/
    @Schema(description = "创建人")
    private java.lang.String createBy;
	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @Schema(description = "创建日期")
    private java.util.Date createTime;
	/**更新人*/
    @Schema(description = "更新人")
    private java.lang.String updateBy;
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @Schema(description = "更新日期")
    private java.util.Date updateTime;
	/**所属部门*/
    @Schema(description = "所属部门")
    private java.lang.String sysOrgCode;
	/**父级节点*/
	@Excel(name = "父级节点", width = 15)
    @Schema(description = "父级节点")
    private java.lang.String pid;
	/**是否有子节点*/
	@Excel(name = "是否有子节点", width = 15, dicCode = "yn")
	@Dict(dicCode = "yn")
    @Schema(description = "是否有子节点")
    private java.lang.String hasChild;
    /**所有层级父节点*/
    @Excel(name = "所有层级父节点", width = 15)
    @Schema(description = "所有层级父节点")
    private java.lang.String ancestors;
	/**合同产品ID*/
	@Excel(name = "合同产品ID", width = 15)
    @Schema(description = "合同产品ID")
    @Dict(dictTable = "wm_contract_product", dicText = "name", dicCode = "id")
    private java.lang.String contractProductId;
	/**计划状态*/
	@Excel(name = "计划状态", width = 15)
    @Schema(description = "计划状态")
    @Dict(dicCode = "plan_status")
    private java.lang.String planStatus;
    /**设计状态*/
    @Excel(name = "计划状态", width = 15)
    @Schema(description = "计划状态")
    @Dict(dicCode = "design_status")
    private java.lang.String designStatus;
    /**工艺状态*/
    @Excel(name = "工艺状态", width = 15)
    @Schema(description = "工艺状态")
    @Dict(dicCode = "process_status")
    private java.lang.String processStatus;
    /**当前用户ID*/
    @Excel(name = "当前用户ID", width = 15)
    @Schema(description = "当前用户ID")
    @Dict(dictTable = "sys_user", dicText = "realname", dicCode = "id")
    private java.lang.String currentUserId;
    /**计划用户ID*/
    @Excel(name = "计划用户ID", width = 15)
    @Schema(description = "计划用户ID")
    @Dict(dictTable = "sys_user", dicText = "realname", dicCode = "id")
    private java.lang.String planUserId;
    /**生产用户ID*/
    @Excel(name = "生产用户ID", width = 15)
    @Schema(description = "生产用户ID")
    @Dict(dictTable = "sys_user", dicText = "realname", dicCode = "id")
    private java.lang.String produceUserId;
    /**设计用户ID*/
    @Excel(name = "设计用户ID", width = 15)
    @Schema(description = "设计用户ID")
    @Dict(dictTable = "sys_user", dicText = "realname", dicCode = "id")
    private java.lang.String designUserId;
    /**工艺用户ID*/
    @Excel(name = "工艺用户ID", width = 15)
    @Schema(description = "工艺用户ID")
    @Dict(dictTable = "sys_user", dicText = "realname", dicCode = "id")
    private java.lang.String processUserId;
    /**工艺审核用户ID*/
    @Excel(name = "工艺审核用户ID", width = 15)
    @Schema(description = "工艺审核用户ID")
    @Dict(dictTable = "sys_user", dicText = "realname", dicCode = "id")
    private java.lang.String processAuditUserId;
    /**计划名称*/
    @Schema(description = "计划名称")
    private java.lang.String name;
    /**事业部ID*/
    @Excel(name = "事业部ID", width = 15)
    @Schema(description = "事业部ID")
    @Dict(dictTable = "sys_depart", dicText = "depart_name", dicCode = "org_code")
    private java.lang.String buId;
    /**编码*/
    @Excel(name = "编码", width = 15)
    @Schema(description = "编码")
    private java.lang.String code;
    /**责任用户ID*/
    @Excel(name = "责任用户ID", width = 15)
    @Schema(description = "责任用户ID")
    @Dict(dictTable = "sys_user", dicText = "realname", dicCode = "id")
    private java.lang.String chargeUserId;
    /**数量*/
    @Excel(name = "数量")
    @Schema(description = "数量")
    private Double quantity;
}
